package com.qianxing.controller;

import com.qianxing.service.TbRouteDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author:JasonLong
 * @Date:2023/7/14
 * @Time:0:21
 */
@RestController
@RequestMapping("/route")
public class WxPlayRouteController {

    @Autowired
    private TbRouteDataService routeDataService;

    @GetMapping("/getAll")
    public List getAll() {
        List all = routeDataService.getAll();
        return all;
    }

}
